package cn.jiangjiesheng.bootstrap.cloud.service;

import cn.jiangjiesheng.bootstrap.commons.properties.DevUserMockProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by dev@jiangjiesheng.cn on 2021/9/14  <br/>
 *
 * @author dev@jiangjiesheng.cn
 */
@SpringBootApplication(exclude = {JdbcTemplateAutoConfiguration.class})
@EnableConfigurationProperties({DevUserMockProperties.class, ProjectMetadataProperties.class})
@ComponentScan("cn.jiangjiesheng")
public class CommonDemoApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(CommonDemoApplication.class, args);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

}
